<template>
    <h1>{{ "child" }}</h1>
    <p>Count: {{ count }}</p>
    <button @click="increment">+1</button>
</template>

<script setup lang="ts">
import { defineExpose, ref } from "vue";
// defineProps(["count"]);
const count = ref(0);
function increment() {
    count.value++;
}

const a = ref(1);

defineExpose({
    increment,
    count,
});
</script>

<style scoped></style>
